package com.qst.crop.dao;

import com.qst.crop.entity.Order;
import jakarta.persistence.criteria.CriteriaBuilder;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import java.util.List;

/**
 * (Order)表数据库访问层
 *
 * @author why
 * @since 2025-09-02 19:36 */
public interface OrderDao {



    List<Order> selectAll();

    List<Order> selectAllGoods(Order order);

    List<Order> selectByKeys(Order order);

    Order selectByPrimaryKey(Integer id);



    int insertSelective(Order order);

    int updateByPrimaryKeySelective(Order order);

    int deleteByPrimaryKey(Integer id);

    List<Order> selectByExample(Order order);

    List<Order> selectAllNeeds(Order order);

    int takeUp(@Param("orderId") Integer orderId);

    int takeDown(@Param("orderId") Integer orderId);

}

